<!--#include file="lib/utf-8.asp"-->
<!--#include file="lib/conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
<link rel="stylesheet" href="lib/sheet.css" type="text/css">
</head>

<body>
<%
	Set rs = Server.CreateObject("ADODB.Recordset")
	sql = "SELECT *  FROM yj"
	rs.Open sql,conn,1,1
	If rs.eof Then
		rs.close
%>
		<p><a href="add_yj.asp">运价数据不存在，请添加</a></p>
<%
		response.end
	End If

%>

<table cellspacing="1" cellpadding="2" border="0" bgcolor="black" width="100%">
  <tr bgcolor="silver">
      <th>ID</th>
      <th>地点</th>
      <th>箱型</th>
      <th>应收运价</th>
      <th>应付运价</th>
      <th>删除</th>
    </tr>
	<% while not rs.eof %>
  	<tr bgcolor="#efefef" align="center">
      <td><a href="edit_yj.asp?yjid=<%=rs("yjid")%>"><%=rs("yjid")%></a></td>
      <td><%=rs("didian")%></td>
      <td><%=rs("xiangxing")%></td>
      <td><%=rs("yunjia")%></td>
      <td><%=rs("jsj")%></td>
      <td><a href="del_yj.asp?yjid=<%=rs("yjid")%>" onClick="return confirm('删除这个地点的运价，请确认？')">删除</a></td>
    </tr>
	<% rs.movenext
	wend
	rs.close
	%>
  </table>
<p><a href="javascript:history.go(-1)">&lt;&lt;返回上一页</a></p>
</body>
</html>
